from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('assets', '0032_force_drop_printed_by_and_template'),
    ]

    operations = [
        migrations.AddIndex(
            model_name='inventorylog',
            index=models.Index(fields=['consumable', 'created_at'], name='invlog_cons_created_idx'),
        ),
        migrations.AddIndex(
            model_name='inventorylog',
            index=models.Index(fields=['transaction_type', 'created_at'], name='invlog_type_created_idx'),
        ),
        migrations.AddIndex(
            model_name='consumable',
            index=models.Index(fields=['name'], name='consumable_name_idx'),
        ),
        migrations.AddIndex(
            model_name='consumable',
            index=models.Index(fields=['code'], name='consumable_code_idx'),
        ),
        migrations.AddIndex(
            model_name='consumable',
            index=models.Index(fields=['quantity', 'min_quantity'], name='consumable_qty_min_idx'),
        ),
    ]
